
<!-- Main content-->
<section class="content">
    <div class="container-fluid">

        <div class="row">
            <div class="col-lg-12">
                <div class="view-header">

                    <div class="pull-right text-right text-14">
                        <h3>{{totalAmountString}} ETHER</h3>
                        <p>${{totalAmountUSD}}</p>
                    </div>

                    <div class="header-icon">
                        <i class="pe page-header-icon pe-7s-wallet"></i>
                    </div>
                    <div class="header-title">
                        <h3 class="m-b-xs">钱包</h3>
                        <small>
                            允许接收和发送ETH
                        </small>
                    </div>
                </div>
                <hr>
            </div>
        </div>

        <div class="row">

            <div class="col-lg-12">
                <div class="panel panel-filled">

                    <div class="panel-heading">
                        我的钱包地址
                    </div>

                    <div class="panel-heading">
                        <a href="#" ng-click="onNewAddress()" class="btn btn-w-md btn-primary"><span class="pe-7s-key m-r-sm"></span>通过密码创建新地址</a>
                        <span class="m-l-sm"/>
                        <a href="#" ng-click="onPhraseAddress()" class="btn btn-w-md btn-primary">通过助记符添加新的地址</a>
                        <span class="m-l-sm"/>
                        <a href="#" ng-click="onImportAddress()" class="btn btn-w-md btn-primary"><i class="fa fa-eye m-r-sm"/>导入地址</a>
                    </div>

                    <div class="table-responsive" id="address-scroll-container">
                        <table class="table">
                            <thead>
                            </thead>
                            <tbody>
                                <tr ng-repeat="item in addresses"
                                    >
                                    <td>
                                        <span class="pe-7s-key m-l-sm" ng-hide="!item.hasKeystoreKey"></span>
                                    </td>
                                    <td>
                                        {{item.name}}
                                    </td>
                                    <td>
                                        <div class="font-monospace">{{item.publicAddress}}</div>
                                    </td>
                                    <td>
                                        <span class="c-white">{{item.amountString}}</span> <span data-toggle="tooltip" title="Pending amount">{{item.pendingAmountString}}</span>
                                    </td>
                                    <td>
                                       <a href="#" ng-click="onSendClick(item)">发送金额</a>
                                    </td>
                                    <td>
                                        <a href="#" ng-click="onRemoveClick(item)">删除地址</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>

                <div class="panel panel-filled">
                    <div class="panel-heading">
                        最后交易
                    </div>

                </div>
            </div>
        </div>

    </div>

</section>
<!-- End main content-->


